<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:component="http://java.sun.com/jsf/composite/component">

    <ui:composition template="/resources/include/template.xhtml">

        <ui:define name="title">

            <h:outputText value="#{bundle.Bambole} - #{bundle.Note}"/>

        </ui:define>

        <ui:define name="body">

            <h:form>

                <ui:include src="/resources/include/menu.xhtml"/> 

                <p:panel header="#{organizationNoteController.currentOrganization.nameWithDisabledFormatting} :
                         #{bundle.Note} - #{bundle.View}">

                    <component:toolbar

                        refreshButtonDisabled="true"         
                        saveButtonDisabled="true"

                        previousButtonDisabled="#{!organizationNoteController.hasPreviousRecord}"
                        nextButtonDisabled="#{!organizationNoteController.hasNextRecord}"             

                        returnButtonAction="#{organizationNoteController.prepareList}"
                        previousButtonAction="#{organizationNoteController.previousItem}"
                        nextButtonAction="#{organizationNoteController.nextItem}"            
                        createButtonAction="#{organizationNoteController.prepareCreate}"
                        editButtonAction="#{organizationNoteController.prepareEdit}"
                        searchButtonAction="#{organizationNoteController.prepareSearch}"
                        deleteButtonAction="#{organizationNoteController.destroy}"

                        additionalInfoButtonRendered="true"

                        /> 

                    <component:organization_note

                        descriptionDisabled="true"
                        closedDisabled="true"
                        remainderDisabled="true"  

                        closedRendered="true"
                        remainderRendered="true"              

                        />          

                </p:panel>

            </h:form>

        </ui:define>

    </ui:composition>

</html>
